if ~isdeployed
    eval(['cd ' Constant.AutoMeasurementPath]);
    L = log4m.getLogger(sprintf('%s%slogfile_%s.txt', Constant.AutoMeasurementLogPath, Constant.PathDelimiter , datestr(now,'yyyymmdd')) );
    L.setCommandWindowLevel(L.INFO); 
    L.setLogLevel(L.ALL);
    L.trace('startup', 'Matlab started.');
end